package edu.njust.service;

import edu.njust.pojo.*;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface UserService {
    //√
    //通过用户id查询用户
    User getUserById(String id);

    //√
    //通过用户名字查询用户
    List<User> getUserByName(String name, Integer type);



}
